#include "DeadProxyGUIEvent.h"
IMPLEMENT_DYNAMIC_CLASS(wxGUIEvent, wxEvent);
DEFINE_EVENT_TYPE(wxEVT_UPDATE_CLIENT_BOX);
DEFINE_EVENT_TYPE(wxEVT_UPDATE_PACKET_BOX);
DEFINE_EVENT_TYPE(wxEVT_UPDATE_MINICLIENT);
DEFINE_EVENT_TYPE(wxEVT_INIT_CLIENT_SELECT);
DEFINE_EVENT_TYPE(wxEVT_SET_PACKET_STRING);
DEFINE_EVENT_TYPE(wxEVT_UPDATE_MESSAGE_BOX);
DEFINE_EVENT_TYPE(wxEVT_SET_MESSAGE_INFO);
DEFINE_EVENT_TYPE(wxEVT_UPDATE_CHANNEL_BOX);


void wxGUIEvent::SetStr1(wxString * str)
{
    str1 = str;
}
void wxGUIEvent::SetStr2(wxString * str)
{
    str2 = str;
}
void wxGUIEvent::SetStr3(wxString * str)
{
    str3 = str;
}
void wxGUIEvent::SetStr4(wxString * str)
{
    str4 = str;
}
wxString * wxGUIEvent::GetStr1()
{
    return str1;
}
wxString * wxGUIEvent::GetStr2()
{
    return str2;
}
wxString * wxGUIEvent::GetStr3()
{
    return str3;
}
wxString * wxGUIEvent::GetStr4()
{
    return str4;
}

void wxGUIEvent::SetParam1(int param)
{
    param1 = param;
}
void wxGUIEvent::SetParam2(int param)
{
    param2 = param;
}
void wxGUIEvent::SetParam3(int param)
{
    param3 = param;
}
void wxGUIEvent::SetParam4(int param)
{
    param4 = param;
}
void wxGUIEvent::SetParam5(int param)
{
    param5 = param;
}
void wxGUIEvent::SetParam6(int param)
{
    param6 = param;
}
void wxGUIEvent::SetParam7(int param)
{
    param7 = param;
}
void wxGUIEvent::SetParam8(int param)
{
    param8 = param;
}

int wxGUIEvent::GetParam1()
{
    return param1;
}
int wxGUIEvent::GetParam2()
{
    return param2;
}
int wxGUIEvent::GetParam3()
{
    return param3;
}
int wxGUIEvent::GetParam4()
{
    return param4;
}
int wxGUIEvent::GetParam5()
{
    return param5;
}
int wxGUIEvent::GetParam6()
{
    return param6;
}
int wxGUIEvent::GetParam7()
{
    return param7;
}
int wxGUIEvent::GetParam8()
{
    return param8;
}

wxGUIEvent::wxGUIEvent(wxEventType commandType, int id)
{
    SetEventType(commandType);
    SetId(id);
    str1 = 0;
    str2 = 0;
    str3 = 0;
    str4 = 0;
}
wxGUIEvent::~wxGUIEvent()
{
    if(str1 != 0)
    {
        delete str1;
    }
    if(str2 != 0)
    {
        delete str2;
    }
    if(str3 != 0)
    {
        delete str3;
    }
    if(str4 != 0)
    {
        delete str4;
    }

}
